#ifndef __REFEREE_H
#define __REFEREE_H

#include "stm32f4xx.h"

void Referee_USART_Init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t rx_buf_num, uint8_t *tx_buf, uint16_t tx_buf_num);
void Referee_USART_unable(void);
void Referee_USART_restart(uint16_t dma_buf_num);

void Referee_DMA_TX(uint16_t tx_buf_num);

#endif

